<template>
  <div class="gray">
    <div class="box">
      <div class="inner">
        <img src="@/assets/6.png" width="74" height="74" />
        <p>用户</p>
      </div>
    </div>
    <div class="list">
        <ul>
            <li>我的订单</li>
            <li>优惠券</li>
            <li>我的足迹</li>
            <li @click="collectlist">我的收藏</li>
            <li @click="rouAddress">地址管理</li>
            <li>联系客服</li>
            <li>帮助中心</li>
            <li @click="opinion">意见反馈</li>
            <li></li>
        </ul>
    </div>
  </div>
</template>

<script>

export default {
  data() {
    return {
      
    };
  },
  computed: {},
  created() {},
  mounted() {},
  methods: {
      collectlist(){
          this.$router.push({path:"/my/collect"})
      },
      rouAddress(){
          this.$router.push({path:"/my/address"})
      },
      opinion(){
        this.$router.push({path:"/my/opinion"})
      }
  },
};
</script>

<style scoped lang="scss">
.gray {
  background-color: rgb(244, 244, 244);
  .box {
    height: 140px;
    background-color: #333;
    .inner {
      height: 140px;
      padding: 0 15px;
      display: flex;
      align-items: center;
      img{
          border-radius: 50%;
      }
      p {
        margin:14px 0 5px 0;
        margin-left: 15px;
        color: #fff;
        font-size: 14px;
      }
    }
  }
}
.list{
    width: 100%;
    ul{
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        li{
            width: 124px;
            padding: 25px 0;
            text-align: center;
            background-color: #fff;
            border-right: .01333rem solid rgba(0,0,0,.15);
            border-bottom: .01333rem solid rgba(0,0,0,.15);
        }
        li:nth-child(3),li:nth-child(6){
            border-right: 0;
        }
    }
}
</style>
